package com.djp.smartapp.bean;

import java.util.List;

public class UserPeopleResponse {
    private List<UserPeople> data;
    private String message;
    private String status;

    public void setData(List<UserPeople> data) {
        this.data = data;
    }

    public List<UserPeople> getData() {
        return data;
    }

    @Override
    public String toString() {
        return "GetAllUserPeopleResponse{" +
                "data=" + data +
                ", message='" + message + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    public class UserPeople {
        private int id;
        private int userWorkId;
        private int power;
        private int peopleId;
        private int userProductionLineId;
        private int workPostId;
        private String name;
        private int money;
        private WorkPostResponse.WorkPost workPost;
        private int workType;


        public int getWorkType() {
            return workType;
        }

        public void setWorkType(int workType) {
            this.workType = workType;
        }

        @Override
        public String toString() {
            return "UserPeople{" +
                    "id=" + id +
                    ", userWorkId=" + userWorkId +
                    ", power=" + power +
                    ", peopleId=" + peopleId +
                    ", userProductionLineId=" + userProductionLineId +
                    ", workPostId=" + workPostId +
                    ", name='" + name + '\'' +
                    ", money=" + money +
                    ", workPost=" + workPost +
                    ", workType=" + workType +
                    '}';
        }

        public WorkPostResponse.WorkPost getWorkPost() {
            return workPost;
        }

        public void setWorkPost(WorkPostResponse.WorkPost workPost) {
            this.workPost = workPost;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return id;
        }

        public void setUserWorkId(int userWorkId) {
            this.userWorkId = userWorkId;
        }

        public int getUserWorkId() {
            return userWorkId;
        }

        public void setPower(int power) {
            this.power = power;
        }

        public int getPower() {
            return power;
        }

        public void setPeopleId(int peopleId) {
            this.peopleId = peopleId;
        }

        public int getPeopleId() {
            return peopleId;
        }

        public void setUserProductionLineId(int userProductionLineId) {
            this.userProductionLineId = userProductionLineId;
        }

        public int getUserProductionLineId() {
            return userProductionLineId;
        }

        public void setWorkPostId(int workPostId) {
            this.workPostId = workPostId;
        }

        public int getWorkPostId() {
            return workPostId;
        }

    }
}

